/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sv.edu.ufg.ejemplos.obtenerentrada.teclado;

    import javax.swing.JOptionPane;

/**
 *
 * @author BESOMENJCHI
 */
public class usingJoptionpane {
    
    public static void main(String[] args) {
        String name = "";
        name = JOptionPane.showInputDialog("Please enter your name");
        String msg = "Hello " + name +"!";
        JOptionPane.showMessageDialog(null, msg);
    }
    
}
